package com.group.three.entity.myOrder;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 售后搜索参数
 **/

@Data
public class AfterSaleSearchParams {

    @ApiModelProperty(value = "售后服务单号")
    private String sn;

    @ApiModelProperty(value = "订单编号")
    private String orderSn;

    @ApiModelProperty(value = "会员名称")
    private String memberName;

    @ApiModelProperty(value = "商家名称")
    private String storeName;

    @ApiModelProperty(value = "商家ID")
    private String storeId;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "申请退款金额,可以为范围，如10_1000")
    private String applyRefundPrice;

    @ApiModelProperty(value = "实际退款金额,可以为范围，如10_1000")
    private String actualRefundPrice;

    @ApiModelProperty(value = "总价格,可以为范围，如10_1000")
    private String flowPrice;


    @ApiModelProperty(value = "售后类型", allowableValues = "CANCEL,RETURN_GOODS,EXCHANGE_GOODS,REISSUE_GOODS")
    private String serviceType;


    @ApiModelProperty(value = "售后单状态", allowableValues = "APPLY,PASS,REFUSE,BUYER_RETURN,SELLER_RE_DELIVERY,BUYER_CONFIRM,SELLER_CONFIRM,COMPLETE")
    private String serviceStatus;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始时间")
    private Date createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
    private Date endDate;

    @ApiModelProperty(value = "页码")
    private int pageNumber;
    @ApiModelProperty(value = "数量")
    private int pageSize;
    @ApiModelProperty(value = "会员ID")
    private String memberId;
    @ApiModelProperty(value = "关键字 商品名称/买家名称/店铺名称/售后订单")
    private String keywords;
    @ApiModelProperty(value = "商品图片")
    private String goodsImage;
    @ApiModelProperty(value = "申请数量")
    private int num;
    @ApiModelProperty(value = "售后原因")
    private String reason;
    @ApiModelProperty(value = "退款方式")
    private String refundWay;
    @ApiModelProperty(value = "问题描述")
    private String problemDesc;
    @ApiModelProperty(value = "银行开户行")
    private String bankDepositName;
    @ApiModelProperty(value = "银行开户名")
    private String bankAccountName;
    @ApiModelProperty(value = "退款卡号")
    private String bankAccountNumber;


}
